
/*
'===============================================================================
'  Generated From - BLL_Type_Class.vbgen
'
'  This is a class type for a table in the DB. When created, the object represents 
'  one row in the table. There should be no need to add custom code to this class.
'  
'  Do not write custom business logic in this class as it will be overwritten 
'  next time the class is generated.
'
'  Version: 1.0
'  Date:	30/01/06
'  Summary: Default constructor and explicit constructor using parameters.
'===============================================================================
*/
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace PlacementManager
{
    public class PlacementType
    {
		#region Members
		private int _PlacementTypeId;
		private string _PlacementTypeName;
		private int _Year;
		private int _SemesterId;
		private int _UnitId;
		private int _CategoryId;
		private int _AttendancePatternId;
		private int _CampusId;
		private int _RequiredHours;
		private DateTime _DateStart;
		private DateTime _DateEnd;
		private bool _AccruesPoints;
		private int _NumberOfPoints;
		private int _PointsRadiusKm;
		private bool _IsActive;
		private DateTime _DateCreated;
		private string _CreatedBy;
		private DateTime _DateUpdated;
		private string _UpdatedBy;
		#endregion

		#region Properties
		
		public int PlacementTypeId
		{
			get	{ return _PlacementTypeId; }
			set	{ _PlacementTypeId = value; }
		}
		
		public string PlacementTypeName
		{
			get	{ return _PlacementTypeName; }
			set	{ _PlacementTypeName = value; }
		}
		
		public int Year
		{
			get	{ return _Year; }
			set	{ _Year = value; }
		}
		
		public int SemesterId
		{
			get	{ return _SemesterId; }
			set	{ _SemesterId = value; }
		}
		
		public int UnitId
		{
			get	{ return _UnitId; }
			set	{ _UnitId = value; }
		}
		
		public int CategoryId
		{
			get	{ return _CategoryId; }
			set	{ _CategoryId = value; }
		}
		
		public int AttendancePatternId
		{
			get	{ return _AttendancePatternId; }
			set	{ _AttendancePatternId = value; }
		}
		
		public int CampusId
		{
			get	{ return _CampusId; }
			set	{ _CampusId = value; }
		}
		
		public int RequiredHours
		{
			get	{ return _RequiredHours; }
			set	{ _RequiredHours = value; }
		}
		
		public DateTime DateStart
		{
			get	{ return _DateStart; }
			set	{ _DateStart = value; }
		}
		
		public DateTime DateEnd
		{
			get	{ return _DateEnd; }
			set	{ _DateEnd = value; }
		}
		
		public bool AccruesPoints
		{
			get	{ return _AccruesPoints; }
			set	{ _AccruesPoints = value; }
		}
		
		public int NumberOfPoints
		{
			get	{ return _NumberOfPoints; }
			set	{ _NumberOfPoints = value; }
		}
		
		public int PointsRadiusKm
		{
			get	{ return _PointsRadiusKm; }
			set	{ _PointsRadiusKm = value; }
		}
		
		public bool IsActive
		{
			get	{ return _IsActive; }
			set	{ _IsActive = value; }
		}
		
		public DateTime DateCreated
		{
			get	{ return _DateCreated; }
			set	{ _DateCreated = value; }
		}
		
		public string CreatedBy
		{
			get	{ return _CreatedBy; }
			set	{ _CreatedBy = value; }
		}
		
		public DateTime DateUpdated
		{
			get	{ return _DateUpdated; }
			set	{ _DateUpdated = value; }
		}
		
		public string UpdatedBy
		{
			get	{ return _UpdatedBy; }
			set	{ _UpdatedBy = value; }
		}
		
		#endregion

        #region Constructors
		/// <summary>
        /// Explicit constructor using parameters.
        /// </summary>
        public PlacementType(int PlacementTypeId, string PlacementTypeName, int Year, int SemesterId, int UnitId, int CategoryId, int AttendancePatternId, int CampusId, int RequiredHours, DateTime DateStart, DateTime DateEnd, bool AccruesPoints, int NumberOfPoints, int PointsRadiusKm, bool IsActive, DateTime DateCreated, string CreatedBy, DateTime DateUpdated, string UpdatedBy)
        {
			 _PlacementTypeId = PlacementTypeId;
			 _PlacementTypeName = PlacementTypeName;
			 _Year = Year;
			 _SemesterId = SemesterId;
			 _UnitId = UnitId;
			 _CategoryId = CategoryId;
			 _AttendancePatternId = AttendancePatternId;
			 _CampusId = CampusId;
			 _RequiredHours = RequiredHours;
			 _DateStart = DateStart;
			 _DateEnd = DateEnd;
			 _AccruesPoints = AccruesPoints;
			 _NumberOfPoints = NumberOfPoints;
			 _PointsRadiusKm = PointsRadiusKm;
			 _IsActive = IsActive;
			 _DateCreated = DateCreated;
			 _CreatedBy = CreatedBy;
			 _DateUpdated = DateUpdated;
			 _UpdatedBy = UpdatedBy;

        }
		
		/// <summary>
        /// Default constructor.
        /// </summary>
		public PlacementType()
        {

        }
		#endregion
	}
}
